package com.ocom.webapi.vo.xfpersonnel;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class OnShowVo implements Serializable {
    private static final long serialVersionUID = -8392193759924814432L;
    @NotNull(message = "comId 不能为空")
    private Long comId;
    private Long deptId;
    @JsonProperty("pCode")
    private String pCode;
    @JsonProperty("pName")
    private String pName;
    @NotNull(message = "status 不能为空")
    private Integer status;
    @NotNull(message = "page 不能为空")
    private Integer page;
    @NotNull(message = "size 不能为空")
    private Integer size;

    @JsonProperty("accountState")
    private Integer accountState;

    @JsonProperty("cardNo")
    private String cardNo;

    @JsonProperty("bankNo")
    private String bankNo;

    @JsonProperty("pPhone")
    private String pPhone;

    @JsonProperty("pIdentity")
    private String pIdentity;

    @JsonProperty("pTags")
    private List<PTags> pTags;

    @Data
    public static class PTags {
        private Integer tagId;
        private Integer groupNo;
    }

}
